package com.example.goandpaytthebill.Bean;

import java.util.List;

public class GetStoreCategoryListBean {


    /**
     * code : 1
     * msg : 门店分类列表
     * time : 1611646402
     * data : [{"id":3,"name":"美食","pic":"/uploads/20210111/788f0e7c9bf2681af36e9f28f5caa8c4.png","ctime":0,"orderby":9},{"id":4,"name":"旅游","pic":"/uploads/20210111/cf127fbb28d5541fdcc5ae4924417be6.png","ctime":0,"orderby":8},{"id":1,"name":"炸鸡店","pic":"/uploads/20210110/4474ddae66451e55973efbde3c149c1c.png","ctime":1610245268,"orderby":0},{"id":2,"name":"小吃店","pic":"/uploads/20210110/d88310cf248ff8c085658ba1921a8977.png","ctime":0,"orderby":0},{"id":5,"name":"洗车","pic":"/uploads/20210111/a59d1d8bcd5021f88b73afae302717f3.png","ctime":0,"orderby":0}]
     */

    private int code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public GetStoreCategoryListBean(int code, List<DataBean> data, String msg, String time) {
        this.code=code;
        this.data=data;
        this.msg=msg;
        this.time=time;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  {
        /**
         * id : 3
         * name : 美食
         * pic : /uploads/20210111/788f0e7c9bf2681af36e9f28f5caa8c4.png
         * ctime : 0
         * orderby : 9
         */

        private int id;
        private String name;
        private String pic;
        private int ctime;
        private int orderby;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public int getCtime() {
            return ctime;
        }

        public void setCtime(int ctime) {
            this.ctime = ctime;
        }

        public int getOrderby() {
            return orderby;
        }

        public void setOrderby(int orderby) {
            this.orderby = orderby;
        }
    }
}
